package com.itheima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableScheduling  // 开启任务
public class QuartzMain {
    public static void main(String[] args) {
        SpringApplication.run(QuartzMain.class,args);
        System.out.println("quartz模块启动....");
    }
}
